package com.hs.security.mapper;
;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hs.security.pojo.TbUser;
import com.hs.security.pojo.TbUserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 郭敖
 * @since 2023-08-18
 */
@Mapper
public interface TbUserRoleMapper extends BaseMapper<TbUserRole> {
    int deleteByUserId(@Param("userId") Integer userId);

    int insertByUserId(TbUser user);
}
